home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Trusted Irix /B 4.0.4
/
Trusted-Irix B-4.0.1.iso
/
dist
/
eoe1.idb
/
etc
/
reboot.z
/
reboot
Wrap
Text File
|
1992-04-03
|
325b
|
25 lines
#! /bin/sh -e
#Tag 0x00000f00
#
# Reboot the system--take it down and let it come back up
#
# $Revision: 1.8 $"
#
if test -n "$REMOTEHOST"; then
echo "Reboot `hostname`? \c"
read reply
case "$reply" in
[yY]*)
;;
*)
echo "'Reboot' cancelled."
exit 0
;;
esac
fi
/etc/shutdown -y -g0 -i6
sleep 10 2> /dev/null